package com.kly.user.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.UserConversationGroupEntity;
import com.kly.user.dto.chatter.request.ConversationOPReq;

/**
* User: linqu
* Date: 2023-06-21
* Time: 10:43:12.829
*/

public interface UserConversationGroupDao  extends BaseMapper<UserConversationGroupEntity> {
    /**
     * 获取聊天用户所在的组
     */
    UserConversationGroupEntity queryConversationGroup(ConversationOPReq req);

    UserConversationGroupEntity queryUserGroup(String chatterUserId, String modelUserId, String userId);

    UserConversationGroupEntity queryUserGroupByCode(String chatterUserId, String modelUserId, String userId);
}